PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

ReadIconFile

Copies data from a given file into an icon family.

pascal OSErr ReadIconFile(
                     const FSSpec*iconFile
                     IconFamilyHandleiconFamily)

iconFile
A pointer to a file specification structure (FSSpec ) specifying a source file for icon data.

iconFamily
A handle to an iconFamily data structure to be used as the target. Icon Services resizes the handle as needed. For more information on the IconFamily data structure, see Figure 2-1 .

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)